package com.example.daibanshiwu.pojo;

import java.time.LocalDateTime;

public class Archive {

    private Long archiveId;
    private Long messageId;
    private Long recordId;
    private String archiveType;
    private Long archiverUserId;
    private Integer archiverGroupId;
    private LocalDateTime archiveTime; //对应 datetime 类型

    public Archive() {}

    public Archive(Long archiveId, Long messageId, Long recordId, String archiveType, Long archiverUserId,Integer archiverGroupId, LocalDateTime archiveTime) {
        this.archiveId = archiveId;
        this.messageId = messageId;
        this.recordId = recordId;
        this.archiveType = archiveType;
        this.archiverUserId = archiverUserId;
        this.archiverGroupId = archiverGroupId;
        this.archiveTime = archiveTime;
    }

    public Long getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(Long archiveId) {
        this.archiveId = archiveId;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getArchiveType() {
        return archiveType;
    }

    public void setArchiveType(String archiveType) {
        this.archiveType = archiveType;
    }

    public Long getArchiverUserId() {
        return archiverUserId;
    }

    public void setArchiverUserId(Long archiverUserId) {
        this.archiverUserId = archiverUserId;
    }

    public Integer getArchiverGroupId() {
        return archiverGroupId;
    }

    public void setArchiverGroupId(Integer archiverGroupId) {
        this.archiverGroupId = archiverGroupId;
    }

    public LocalDateTime getArchiveTime() {
        return archiveTime;
    }

    public void setArchiveTime(LocalDateTime archiveTime) {
        this.archiveTime = archiveTime;
    }
}
